<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - Cal3D.CalSubmesh</title>

		<style type="text/css">
			/* default.css */


body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: inline;
//	padding: 8px;
//	border: 1px dashed #ccc;
	background-color: #4AA02C;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/Cal3D.html">Cal3D</a></li>
	
	<li><a href="../symbols/Cal3D.CalAbstractMixer.html">Cal3D.CalAbstractMixer</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimation.html">Cal3D.CalAnimation</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimationAction.html">Cal3D.CalAnimationAction</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimationCallback.html">Cal3D.CalAnimationCallback</a></li>
	
	<li><a href="../symbols/Cal3D.CalAnimationCycle.html">Cal3D.CalAnimationCycle</a></li>
	
	<li><a href="../symbols/Cal3D.CalBone.html">Cal3D.CalBone</a></li>
	
	<li><a href="../symbols/Cal3D.CalBoundingBox.html">Cal3D.CalBoundingBox</a></li>
	
	<li><a href="../symbols/Cal3D.CalBufferSource.html">Cal3D.CalBufferSource</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreAnimation.html">Cal3D.CalCoreAnimation</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreBone.html">Cal3D.CalCoreBone</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreKeyframe.html">Cal3D.CalCoreKeyframe</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMaterial.html">Cal3D.CalCoreMaterial</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMaterial.Color.html">Cal3D.CalCoreMaterial.Color</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMaterial.Map.html">Cal3D.CalCoreMaterial.Map</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMesh.html">Cal3D.CalCoreMesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreModel.html">Cal3D.CalCoreModel</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreMorphAnimation.html">Cal3D.CalCoreMorphAnimation</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSkeleton.html">Cal3D.CalCoreSkeleton</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.html">Cal3D.CalCoreSubmesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Face.html">Cal3D.CalCoreSubmesh.Face</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Influence.html">Cal3D.CalCoreSubmesh.Influence</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.PhysicalProperty.html">Cal3D.CalCoreSubmesh.PhysicalProperty</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Spring.html">Cal3D.CalCoreSubmesh.Spring</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.TangentSpace.html">Cal3D.CalCoreSubmesh.TangentSpace</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.TextureCoordinate.html">Cal3D.CalCoreSubmesh.TextureCoordinate</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubmesh.Vertex.html">Cal3D.CalCoreSubmesh.Vertex</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubMorphTarget.html">Cal3D.CalCoreSubMorphTarget</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreSubMorphTarget.BlendVertex.html">Cal3D.CalCoreSubMorphTarget.BlendVertex</a></li>
	
	<li><a href="../symbols/Cal3D.CalCoreTrack.html">Cal3D.CalCoreTrack</a></li>
	
	<li><a href="../symbols/Cal3D.CalError.html">Cal3D.CalError</a></li>
	
	<li><a href="../symbols/Cal3D.CalLibraryConstants.html">Cal3D.CalLibraryConstants</a></li>
	
	<li><a href="../symbols/Cal3D.CalLoader.html">Cal3D.CalLoader</a></li>
	
	<li><a href="../symbols/Cal3D.CalLoadingCallback.html">Cal3D.CalLoadingCallback</a></li>
	
	<li><a href="../symbols/Cal3D.CalMatrix.html">Cal3D.CalMatrix</a></li>
	
	<li><a href="../symbols/Cal3D.CalMesh.html">Cal3D.CalMesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalMixer.html">Cal3D.CalMixer</a></li>
	
	<li><a href="../symbols/Cal3D.CalModel.html">Cal3D.CalModel</a></li>
	
	<li><a href="../symbols/Cal3D.CalMorphTargetMixer.html">Cal3D.CalMorphTargetMixer</a></li>
	
	<li><a href="../symbols/Cal3D.CalPhysique.html">Cal3D.CalPhysique</a></li>
	
	<li><a href="../symbols/Cal3D.CalQuaternion.html">Cal3D.CalQuaternion</a></li>
	
	<li><a href="../symbols/Cal3D.CalRenderer.html">Cal3D.CalRenderer</a></li>
	
	<li><a href="../symbols/Cal3D.CalSkeleton.html">Cal3D.CalSkeleton</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.html">Cal3D.CalSubmesh</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.Face.html">Cal3D.CalSubmesh.Face</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.PhysicalProperty.html">Cal3D.CalSubmesh.PhysicalProperty</a></li>
	
	<li><a href="../symbols/Cal3D.CalSubmesh.TangentSpace.html">Cal3D.CalSubmesh.TangentSpace</a></li>
	
	<li><a href="../symbols/Cal3D.CalVector.html">Cal3D.CalVector</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class Cal3D.CalSubmesh
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
			
				CalSubmesh
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/cal3djs_submesh.js.html">submesh.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class Cal3D.CalSubmesh.">
				<caption>Class Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/Cal3D.CalSubmesh.html">Cal3D.CalSubmesh</a></b>(coreSubmesh)
							</div>
							<div class="description"></div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Cal3D.CalSubmesh.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#disableInternalData">disableInternalData</a></b>()
								</div>
								<div class="description">Disable internal data (and thus springs system).</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#enableTangents">enableTangents</a></b>(mapId, enabled)
								</div>
								<div class="description">Enable (and calculate) or disable the storage of tangent spaces.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getBaseWeight">getBaseWeight</a></b>()
								</div>
								<div class="description">Get weight of the base vertices.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getCoreMaterialId">getCoreMaterialId</a></b>()
								</div>
								<div class="description">Get the core material ID.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getCoreSubmesh">getCoreSubmesh</a></b>()
								</div>
								<div class="description">Get the core submesh.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getFaceCount">getFaceCount</a></b>()
								</div>
								<div class="description">Get the number of faces.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getFaces">getFaces</a></b>(faceBuffer)
								</div>
								<div class="description">Get the face data.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getMorphTargetWeight">getMorphTargetWeight</a></b>(blendId)
								</div>
								<div class="description">Get eight of a morph target with the given ID.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getMorphTargetWeightCount">getMorphTargetWeightCount</a></b>()
								</div>
								<div class="description">Get the number of weights.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getVectorMorphTargetWeight">getVectorMorphTargetWeight</a></b>()
								</div>
								<div class="description">Get the morph target weight list.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getVectorNormal">getVectorNormal</a></b>()
								</div>
								<div class="description">Get the normal list.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getVectorPhysicalProperty">getVectorPhysicalProperty</a></b>()
								</div>
								<div class="description">Get the physical property list.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getVectorVectorTangentSpace">getVectorVectorTangentSpace</a></b>()
								</div>
								<div class="description">Get the list of the tangent space lists.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getVectorVertex">getVectorVertex</a></b>()
								</div>
								<div class="description">Get the vertex list.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#getVertexCount">getVertexCount</a></b>()
								</div>
								<div class="description">Get the number of vertices.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#hasInternalData">hasInternalData</a></b>()
								</div>
								<div class="description">Check if the submesh instance handles vertex data internally.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#isTangentsEnabled">isTangentsEnabled</a></b>(mapId)
								</div>
								<div class="description">Check if tangent vectors are enabled.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#setCoreMaterialId">setCoreMaterialId</a></b>(coreMaterialId)
								</div>
								<div class="description">Set the ID of the core material.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#setLodLevel">setLodLevel</a></b>(lodLevel)
								</div>
								<div class="description">Set the current LOD level.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/Cal3D.CalSubmesh.html#setMorphTargetWeight">setMorphTargetWeight</a></b>(blendId, weight)
								</div>
								<div class="description">Set weight of a morph target with the given ID.</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Class Detail
				</div>
				
				<div class="fixedFont">
						<b>Cal3D.CalSubmesh</b>(coreSubmesh)
				</div>
				
				<div class="description">
					
					
				</div>
				
				
				
				
					
						<dl class="detailList">
						<dt class="heading">Parameters:</dt>
						
							<dt>
								 <b>coreSubmesh</b>
								
							</dt>
								<dd></dd>
						
						</dl>
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name="disableInternalData"> </a>
					<div class="fixedFont">
					
					
					<b>disableInternalData</b>()
					
					</div>
					<div class="description">
						Disable internal data (and thus springs system).
						
						
					</div>
					
					
					
						
						
						
						
						
						
						

					<hr />
				
					<a name="enableTangents"> </a>
					<div class="fixedFont">
					
					<span class="light">{boolean}</span>
					<b>enableTangents</b>(mapId, enabled)
					
					</div>
					<div class="description">
						Enable (and calculate) or disable the storage of tangent spaces.<br />
	This function enables or disables the storage of tangent space bases.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>mapId</b>
									
								</dt>
								<dd>The ID of the texture map.</dd>
							
								<dt>
									<span class="light fixedFont">{boolean}</span> <b>enabled</b>
									
								</dt>
								<dd>Set to true to enable the tangent spaces, false to disable it.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{boolean}</span> true if succeeded; false if any error happened.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getBaseWeight"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getBaseWeight</b>()
					
					</div>
					<div class="description">
						Get weight of the base vertices.<br />
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The weight of the base vertices.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getCoreMaterialId"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getCoreMaterialId</b>()
					
					</div>
					<div class="description">
						Get the core material ID.<br />
	This function returns the core material ID of the submesh instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The ID of the core material.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getCoreSubmesh"> </a>
					<div class="fixedFont">
					
					<span class="light">{<a href="../symbols/Cal3D.CalCoreSubmesh.html">Cal3D.CalCoreSubmesh</a>}</span>
					<b>getCoreSubmesh</b>()
					
					</div>
					<div class="description">
						Get the core submesh.<br />
	This function returns the core submesh on which this submesh instance is based on.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{<a href="../symbols/Cal3D.CalCoreSubmesh.html">Cal3D.CalCoreSubmesh</a>}</span> The core submesh.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getFaceCount"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getFaceCount</b>()
					
					</div>
					<div class="description">
						Get the number of faces.<br />
	This function returns the number of faces in the submesh instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The number of faces.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getFaces"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getFaces</b>(faceBuffer)
					
					</div>
					<div class="description">
						Get the face data.<br />
	This function returns the face data (vertex indices) of the submesh instance. The LOD setting of the submesh instance is taken into account.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Array}</span> <b>faceBuffer</b>
									
								</dt>
								<dd>The user-provided buffer where the face data is written to. This is an output parameter.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The number of faces written to the buffer.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getMorphTargetWeight"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getMorphTargetWeight</b>(blendId)
					
					</div>
					<div class="description">
						Get eight of a morph target with the given ID.<br />
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>blendId</b>
									
								</dt>
								<dd>The morph target ID.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The weight of the morph target.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getMorphTargetWeightCount"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getMorphTargetWeightCount</b>()
					
					</div>
					<div class="description">
						Get the number of weights.<br />
	This function returns the number of weights.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The number of weights.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getVectorMorphTargetWeight"> </a>
					<div class="fixedFont">
					
					<span class="light">{Array}</span>
					<b>getVectorMorphTargetWeight</b>()
					
					</div>
					<div class="description">
						Get the morph target weight list.<br />
	This function returns the list that contains all weights for each morph target instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> The morph target weight list.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getVectorNormal"> </a>
					<div class="fixedFont">
					
					<span class="light">{Array}</span>
					<b>getVectorNormal</b>()
					
					</div>
					<div class="description">
						Get the normal list.<br />
	This function returns the list that contains all normals of the submesh instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> The normal list.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getVectorPhysicalProperty"> </a>
					<div class="fixedFont">
					
					<span class="light">{Array}</span>
					<b>getVectorPhysicalProperty</b>()
					
					</div>
					<div class="description">
						Get the physical property list.<br />
	This function returns the list that contains all physical properties of the submesh instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> The physical property list.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getVectorVectorTangentSpace"> </a>
					<div class="fixedFont">
					
					<span class="light">{Array}</span>
					<b>getVectorVectorTangentSpace</b>()
					
					</div>
					<div class="description">
						Get the list of the tangent space lists.<br />
	This function returns the list that contains all tangent space bases of the submesh instance. This list contains another list 
	because there can be more than one texture map at each vertex.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> The  list of the tangent space lists.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getVectorVertex"> </a>
					<div class="fixedFont">
					
					<span class="light">{Array}</span>
					<b>getVectorVertex</b>()
					
					</div>
					<div class="description">
						Get the vertex list.<br />
	This function returns the list that contains all vertices of the submesh instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> The vertex list.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getVertexCount"> </a>
					<div class="fixedFont">
					
					<span class="light">{number}</span>
					<b>getVertexCount</b>()
					
					</div>
					<div class="description">
						Get the number of vertices.<br />
	This function returns the number of vertices in the submesh instance.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{number}</span> The number of vertices.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="hasInternalData"> </a>
					<div class="fixedFont">
					
					<span class="light">{boolean}</span>
					<b>hasInternalData</b>()
					
					</div>
					<div class="description">
						Check if the submesh instance handles vertex data internally.<br />
	This function returns wheter the submesh instance handles vertex data internally.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{boolean}</span> Whether the submesh instance handles vertex data internally.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isTangentsEnabled"> </a>
					<div class="fixedFont">
					
					<span class="light">{boolean}</span>
					<b>isTangentsEnabled</b>(mapId)
					
					</div>
					<div class="description">
						Check if tangent vectors are enabled.<br />
	This function returns true if the submesh contains tangent vectors.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>mapId</b>
									
								</dt>
								<dd>The ID of the texture map.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{boolean}</span> Whether the tangent vectors are enabled.</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="setCoreMaterialId"> </a>
					<div class="fixedFont">
					
					
					<b>setCoreMaterialId</b>(coreMaterialId)
					
					</div>
					<div class="description">
						Set the ID of the core material.<br />
	This function sets the core material ID of the submesh instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>coreMaterialId</b>
									
								</dt>
								<dd>The core material ID to be set.</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setLodLevel"> </a>
					<div class="fixedFont">
					
					
					<b>setLodLevel</b>(lodLevel)
					
					</div>
					<div class="description">
						Set the current LOD level.<br />
	This function sets the current LOD level of the submesh instance.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>lodLevel</b>
									
								</dt>
								<dd>The LOD level in the range [0.0, 1.0].</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setMorphTargetWeight"> </a>
					<div class="fixedFont">
					
					
					<b>setMorphTargetWeight</b>(blendId, weight)
					
					</div>
					<div class="description">
						Set weight of a morph target with the given ID.<br />
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>blendId</b>
									
								</dt>
								<dd>The morph target ID.</dd>
							
								<dt>
									<span class="light fixedFont">{number}</span> <b>weight</b>
									
								</dt>
								<dd>The weight to be set.</dd>
							
							</dl>
						
						
						
						
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Wed Sep 14 2011 17:55:16 GMT+0800 (CST)
		</div>
	</body>
</html>
